package com.directorio.modelo.service;

import com.directorio.modelo.bean.Email;
import com.directorio.modelo.dao.MailDao;
import com.directorio.modelo.service.MailService;

public class MailServiceImpl implements MailService{

	protected MailDao mailDao;

	public void setMailDao(MailDao mailDao) {
		this.mailDao = mailDao;
	}

	
	public String enviarMensaje(Email email) throws Exception {
		return mailDao.sendMensaje(email);
	}
	
}
